﻿//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Mapping Application Block
//===============================================================================

using System;

namespace EntLibContrib.Mapping.QuickStart.DomainObjects
{
	[Mapper(Name = "Person Mapper")]
	public class Person : OwnerDomainBase
	{
		private string title;
		private string firstname;
		private string surname;

		[Map()]
		public string Title
		{
			get { return title; }
			set { title = value; }
		}

		[Map()]
		public string Firstname
		{
			get { return firstname; }
			set { firstname = value; }
		}

		[Map()]
		public string Surname
		{
			get { return surname; }
			set { surname = value; }
		}

		public Person()
		{ }
	}
}
